home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Shortcuts file and other digested material
- Date: Thu, 28 Jul 1994 12:19:07 +1000
- From: Warwick Allison <warwick@cs.uq.oz.au>
- Precedence: bulk
-
- Ofir Gal wrote:
- >warwick@cs.uq.oz.au said:
- >>
- >>Just put a small icon next to the text field. Hidden functions like this
- >>are very frustrating.
- >
- >I take your point, but this feature is so wide spread that I got used to
- >it and know it's there. Not really sure anymore...
-
- I know what you mean - I often double-click on a field, hoping it will give
- me a file selector.
-
- It's not really a problem: older applications will still have the
- hidden feature, and newer/updated ones could have an icon that clearly
- indicates that double-clicking is not how to access the feature. A
- standard icon could be chosen from the characters set. ('*' in BOXCHAR?)
-
- If there is no room for the icon, a key-combination could bring
- up the fileselector. (attribute *.chooseFile)
-
- As for double-clicking highlighting `words', I point out the very
- simple technique XTerm uses to define what a `word' is: just have a
- 256 byte table of `equivalence classes'. That is, all the letters and
- numbers, and perhaps _, /, ., @ are of the one class, tab and space are
- one class, etc. When highlighting words via double clicking, the
- application just looks left and right from the click point for the
- sequence of characters in the same class (ie. those for which
- char_class_table[x]==char_class_table[character_under_click]).
- If we made that the standard, we'd be one up on X11 - each app decides
- its own interpretation of `word'. Personally, I include _, /, ., and @
- so that I can double-click to select filenames and email addresses.
- Someone who spends more time on a text application might want
- to exclude ".". Others might configure it per-application.
- (*.charClass: 37:48,45-47:48,64:48,36:48,126:48,43:48)
-
- (BTW: if 256 bytes is too much for an app, it can always make a first
- cut down to ASCII 32..127, a measily 96 bytes - not nice to Euro users
- though).
-
- Again, proviso: if an application doesn't want to implement these things,
- that is fine, but if they DO, then it's easier if there is one clear way
- of doing it.
-
- --
- Warwick
-